
def log(func):
    def wrapper(*args,**kw):
        print('call %s():' % func.__name__)
        return func(*args,**kw)
    return wrapper

def log2(func):
    def wrapper1(*args,**kw):
        print('calling %s():' % func.__name__)
        return func(*args,**kw)
    return wrapper1

@log
@log2
def now():
    print("2016-01-01")


@log
def now1():
    print("2016-01-01")

now()
now1()
